﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.Common;

namespace MySQL.Db
{
	public class ResultSetCollection : Collection<ResultSet>
	{
		internal ResultSetCollection(DbDataReader reader)
		{
			do
			{
				ResultSet resultSet = new ResultSet(reader);
				this.Add(resultSet);
			} while (reader.NextResult());
		}
	}
}
